package com.itheima.Method;

public class Demo02 {
    public static void main(String[] args) {
        short a = 10;short b = 99;
boolean i =compare(a,b);
        System.out.println(i);
    }

    public static boolean compare(int a, int b) {
        System.out.println("int ...");
        return a == b;}
        public static boolean compare( short a, short b){
            System.out.println("short ...");
            return a == b;
        }
        public static boolean compare( long a, long b){
            System.out.println("long ...");
            return a == b;
        }
        public static boolean compare( byte a, byte b){
            System.out.println("byte ...");
            return a == b;
        }
        public static boolean compare( double a, double b){
            System.out.println("double ...");
            return a == b;
        }
    }

